package com.sat.user.service.impl;

import com.sat.user.dao.AddressMapper;
import com.sat.user.pojo.Address;
import com.sat.user.service.AddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AddressServiceImpl implements AddressService {

    @Autowired
    private AddressMapper addressMapper;

    @Override
    public Address findAddressById(Integer addressid) {

        return addressMapper.selectByPrimaryKey(addressid);

    }
}
